class  F:
    def __init__(self):
        self.ge = 123
        self.__gene = 456

    def showf(self):
        return self.__gene

class S(F):
    def __init__(self,name):
        self.name = name
        self.__age = 18
        super(S,self).__init__()

    def show(self):
        print(self.name)
        print(self.__age)
        print(self.ge)
        print(self.showf())

s = S('alex')
s.show()